<#macro head  title="vmvm资源分享网站"><!DOCTYPE html>
<html lang="zh-CN">
<head>
 <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>${title!}</title>
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<#nested>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?2ca5c4ba7ab8ff138331c08aabba99d9";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
</head></#macro>
<#macro body shownav=true><body>
<#if shownav>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
  <a class="navbar-brand" href="/">vmvm.net资源分享网站</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" href="/main">广场</a>
      </li>
      <li class="nav-item">

      </li>
      <li class="nav-item">

      </li>


      <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                榜单
              </a>
              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                <a class="dropdown-item"href="/main?order=like"  >榜单喜欢</a>
                <a class="dropdown-item" href="/main?order=view"  >榜单浏览量</a>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="/active_user"  >活跃用户</a>




              </div>
            </li>








      <li class="nav-item">
        <a class="nav-link" href="/myfile">我的文件</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="/upload">免费上传</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="/logout">安全退出</a>
      </li>
      <!--
      <li class="nav-item">
        <a class="nav-link disabled" href="#">Disabled</a>
      </li>
      -->
    </ul>
  </div>
</nav>
</#if>
<#nested>

</body></html>
</#macro>
<#macro js>
<script src="/static/jquery-3.3.1.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript">
<#nested>
</script>
</#macro>
<#macro style>
<#nested>
</#macro>